package com.eascs.ticket.ticket.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.NamedQuery;
import javax.persistence.Table;

/**
 * The persistent class for the ticket_association database table.
 * 
 */
@Entity
@Table(name = "ticket_association")
@NamedQuery(name = "TicketAssociation.findAll", query = "SELECT t FROM TicketAssociation t")
public class TicketAssociation extends com.eascs.ticket.common.entity.InsertEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private String id;

	@Column(name = "association_ticket_id")
	private String associationTicketId;

	@Column(name = "association_type")
	private String associationType;

	@Column(name = "ticket_id")
	private String ticketId;

	public TicketAssociation() {
	}

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getAssociationTicketId() {
		return this.associationTicketId;
	}

	public void setAssociationTicketId(String associationTicketId) {
		this.associationTicketId = associationTicketId;
	}

	public String getAssociationType() {
		return this.associationType;
	}

	public void setAssociationType(String associationType) {
		this.associationType = associationType;
	}

	public String getTicketId() {
		return this.ticketId;
	}

	public void setTicketId(String ticketId) {
		this.ticketId = ticketId;
	}

}